<template>
  <div class="con-tit">
    <div class="tit">
      {{ title }}
    </div>
    <slot name="default"></slot>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: '客户列表',
    },
    data() {
      return {};
    },
  },
};
</script>
<style lang="scss" scoped>
.con-tit {
  width: 100%;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  position: relative;
  .tit {
    width: 100%;
    border-bottom: 1px solid #07b274;
    margin-bottom: 2px;
    text-shadow: 0px 10px 48px #066dec;
    font-style: oblique;
  }
  &::before {
    content: '';
    width: 26px;
    height: 42px;
    display: inline-block;
    background: url('~@/assets/evaluationTask/img/title.png') no-repeat;
  }
  &::after {
    content: '';
    width: 10px;
    height: 2px;
    background-color: #0d76f7;
    position: absolute;
    bottom: 1;
    right: 0;
  }
}
</style>
